package me.zhanshi123.lab4.dao;

import me.zhanshi123.lab4.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryDao {
    List<Category> getAll();

    int addCategory(String name);
}
